import { IBaseState } from './base/types'
import { IProjectState } from './projects/types'
import { IBaseconfigState } from './baseconfig/types'
import { ICompilerState } from './compilers/types'
import { IDrivesState } from './drives/types'
import { IConfigDefState } from './configdef/types'
import { IEnvState } from './env/types'

export interface IRootState {
  name?: string
}

export interface IRootWithModule {
  base: IBaseState
  projects: IProjectState
  baseconfig: IBaseconfigState
  compilers: ICompilerState
  drives: IDrivesState
  configdef: IConfigDefState
  env: IEnvState
}

export type IStoreType = IRootState & IRootWithModule
